//==============================================================================
//
//              Copyright (C) 2002-2005  Dick van Oudheusden
//  
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public
// License as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public
// License along with this program; if not, write to the Free
// Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
//==============================================================================
// 
//  $Date: 2007-10-30 21:17:44 $ $Revision: 1.97 $
//
//==============================================================================

#include <stdlib.h>

#include "ofc/config.h"


extern void DBool_test();
extern void DShort_test();
extern void DInt_test();
extern void DLong_test();
extern void DDouble_test();
extern void DBitArray_test();
extern void DText_test();
extern void DData_test();
extern void DComplex_test();
extern void DRnd_test();
extern void DLRnd_test();
extern void DMRnd_test();
extern void DFraction_test();
extern void DColor_test();
extern void DDateTime_test();
extern void DBigInt_test();
extern void DIntArray_test();
extern void DScore_test();
extern void DFixedPoint_test();
extern void DDoubleArray_test();
extern void DBigDouble_test();
extern void DValue_test();
extern void DBigFraction_test();

extern void DArray_test();
extern void DTree_test();
extern void DHashTable_test();
extern void DList_test();
extern void DAvlTree_test();
extern void DTable_test();
extern void DCube_test();
extern void DCircle_test();
extern void DSortedList_test();
extern void DGraph_test();

extern void DFile_test();
extern void DRegEx_test();
extern void DTimer_test();
extern void DMD5_test();
extern void DSHA1_test();
extern void DDbm_test();
extern void DSocket_test();
extern void DDirectory_test();
extern void DXML_test();
extern void DSystemLogger_test();
extern void DKey_test();
extern void DGZipFile_test();
extern void DCRC32_test();
extern void DBZipFile_test();
extern void DTextScreen_test();
extern void DGraphicScreen_test();
extern void DSHA256_test();

extern void DTcpServerClient_test();
extern void DUdpServerClient_test();
extern void DURL_test();
extern void DHTTPClient_test();
extern void DTelNetClient_test();
extern void DFTPClient_test();

extern void DCalendar_test();
extern void DFSM_test();
extern void DImageHeader_test();
extern void DArguments_test();
extern void DLexer_test();
extern void DConfig_test();
extern void DTokenizer_test();
extern void DTextWritableLogger_test();
extern void DPropertyTree_test();
extern void DDiscreteDistribution_test();
extern void DObjcTokenizer_test();


//-Main------------------------------------------------------------------------

int main(int argc, char *argv[])
{
#if 1
  DInt_test();
  DShort_test();
  DLong_test();
  DBool_test();
  DDouble_test();
  DBitArray_test();
  DComplex_test();
  DLRnd_test();
  DRnd_test();
  DFraction_test();
  DColor_test();
  DBigInt_test();
  DScore_test();
  DFixedPoint_test();
  DText_test();
  DIntArray_test();
  DDoubleArray_test();
  DBigDouble_test();
  DValue_test();
  DDateTime_test();
  DData_test();
  DBigFraction_test();
  DMRnd_test();
#endif
#if 1
  DArray_test();
  DTree_test();
  DHashTable_test();
  DAvlTree_test();
  DTable_test();
  DCube_test();
  DCircle_test();
  DSortedList_test();
  DGraph_test();
  DList_test();
#endif
#if 1
  DTimer_test();
  DSHA1_test();
  DXML_test();
  DKey_test();
  DMD5_test();
  DFile_test();
  DSocket_test();
  DDirectory_test();
  DBZipFile_test();
  DCRC32_test();
  DGZipFile_test();
  DDbm_test();
  DRegEx_test();
  DTextScreen_test();
  DGraphicScreen_test();
  DSHA256_test();
#endif
#if 1
  DUdpServerClient_test();
  DTcpServerClient_test();
  DURL_test();
  // DHTTPClient_test();   // Requires a running http server
  // DTelNetClient_test(); // Requires a running telnet server
  // DFTPClient_test();    // Requires a running ftp server
#endif
#if 1
  DImageHeader_test();
  DArguments_test();
  DCalendar_test();
  DTokenizer_test();
  DLexer_test();
  DConfig_test();
  DTextWritableLogger_test();
  // DSystemLogger_test(); // Gives annoying messages
  DDiscreteDistribution_test();
  DObjcTokenizer_test();
  DFSM_test();
  DPropertyTree_test();
#endif
  
  exit(0);
}
